home *** CD-ROM | disk | FTP | other *** search
/ Interactive Web Graphics with Shout 3D / Interactive Web Graphics With Shout 3D.iso / pc / Shout3Ddemo / Shout3d_runtime / codebase / models / stepInterpolatorTest / stringStepInterpTest.s3d < prev   
Text File  |  2000-11-14  |  1KB  |  49 lines

  1. #VRML V2.0 utf8
  2.  
  3. Background{
  4.     color 1 1 1 
  5. }
  6.  
  7. Transform{
  8. translation -12 10 0
  9. children[
  10. Shape{
  11. geometry Box{ size 20 20 20 }
  12. appearance Appearance{
  13. texture DEF BOX_TEX ImageTexture { url "../images/shared/wooden_stage_bg.jpg" }
  14. }
  15. }
  16. ]
  17. }
  18. DEF Combo_Dummy-TIMER TimeSensor{
  19. cycleInterval 2.667
  20. loop TRUE
  21. }
  22.  
  23. DEF Camera01 Viewpoint{
  24. fieldOfView 0.6024
  25. position 36.45 22.24 -53.66
  26. orientation -0.031 0.997 0.077 -3.907
  27. description "Camera01"
  28. }
  29.  
  30. DEF LABEL LabelEffect {
  31. xPosition 100
  32. yPosition 20
  33. }
  34.  
  35. DEF STRING_TRACK StringStepInterp{
  36. key [0, .25, .5, .75]
  37. keyValue ["I", "Really", "LOVE", "StringStepInterps"]
  38. }
  39. ROUTE Combo_Dummy-TIMER.fraction_changed TO STRING_TRACK.set_fraction
  40. ROUTE STRING_TRACK.value TO LABEL.label_text
  41.  
  42. DEF BOX_TRACK StringArrayStepInterp{
  43. key [0, .25, .5, .75]
  44. keyValue ["../images/shared/wooden_stage_bg.jpg", "", "../images/shared/sky_starry_bg.gif", "", "../images/shared/wooden_stage_bg.jpg", "", "../images/shared/sky_starry_bg.gif", ""]
  45. }
  46. ROUTE Combo_Dummy-TIMER.fraction_changed TO BOX_TRACK.set_fraction
  47. ROUTE BOX_TRACK.value TO BOX_TEX.url
  48.  
  49.